import request from "@/request/request.ts";

/* 获取医院详情的接口 */
export const getHospitalDetailAPI = (hoscode: string) => {
    return request({
        url: `/hosp/hospital/${hoscode}`,
        method: 'GET'
    })
}

/* 获取医院科室的接口 */
export const getHospitalDeparmentAPI = (hoscode: string) => {
    return request({
        url: `/hosp/hospital/department/${hoscode}`,
        method: 'GET',
    })
}
